build-package "on amd64 to armhf" seems to be not working
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
It looks like build-package for cross-building does not fully work when using "build-on" and "run-on".
When I specify: " on amd64 to armhf" in snapcraft.yaml snapcraft does not try to install the build package in question.
Here is a slightly simplified example (full code in https://github.com/snapcore/pi-gadget):
```
name: pi
version: 18-0.1
summary: something
description: else
type: gadget
architectures:
- build-on: amd64
run-on: armhf
parts:
uboot-pi2:
plugin: nil
override-build: |
echo "do stuff"
build-packages:
- on amd64 to armhf:
- gcc-arm-linux-gnueabihf
```
using this snapcraft.yaml does not trigger an install of gcc-arm-linux-gnueabihf.
I need to trigger this via an explicit "snapcraft build --target-arch armhf" which I cannot do in launchpad (AFAIK).
Evaluation history
No evaluation history available.